package com.ruoyi.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 车间对象 base_workshop
 *
 * @author ruoyi
 * @date 2022-07-28
 */
@Data
public class BaseWorkshop {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long workshopId;

    /**
     * 车间编码
     */
    @Excel(name = "车间编码")
    private String workshopCode;

    /**
     * 货架id
     */
    private Long locationId;


    /**
     * 车间名称
     */
    @Excel(name = "车间名称")
    private String workshopName;

    @TableField(exist = false)
    private String locationName;

    @TableField(exist = false)
    private String warehouseName;

    private String colNum;

    private String pliesNum;

    /**
     * 删除标识
     */
    private String delFlag;
    /**
     * 创建者
     */
    private String createBy;


    private Date createTime;

    /**
     * 更新者
     */
    private String updateBy;

    private Date updateTime;

    @TableField(exist = false)
    private boolean selected=false;

    private String position;

    private Integer hasGoods;

}
